<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>用户注册</title>
	<link rel="stylesheet" type="text/css" href="./Public/Home/css/register.css"/>
	<link rel="stylesheet" href="./Public/Home/hdjs/hdjs.css">
    <script type="text/javascript" src="Public/uploadify/jquery-1.8.2.min.js"></script>
    <script src="./Public/Home/hdjs/hdjs.min.js"></script>
	<script type="text/javascript" src="./Public/Home/js/style.js"></script>
</head>
<body>
<header>
	<div class="logo"></div>
</header>
<!--验证码-->
<script type="text/javascript">
//点击文字，验证码刷新，不刷新页面
window.onload=function(){
    var img = document.getElementById('img');
    var btnp = document.getElementById('btnp');	
    btnp.onclick = function(){
    	img.src = "<?php echo U('Member/Code')?>";
    }
}
</script>
<style>
	#btnp{cursor: pointer;color: #8290A3;font-size: 13px;margin-top:10px;}
	#btnp:hover{color: blue;}
	#img{cursor: pointer;position: relative;top: 13px;left:7px;}
</style>
<!--inside-->
<nav id="all_inside">
		<div class="home"><a href="<?php echo U('Index/index')?>">返回首页</a></div>
		<div class="inside_wrap">
			<div class="inside_top">名鞋库用户注册</div>
			<table class="inside_ta" border="0" cellspacing="0" cellpadding="0" width="100%">
				<tbody>
					<tr>
						<td width="65%">
							<div class="register_box">
								<form onsubmit="return hd_submit(this,'<?php echo U('Member/register')?>','<?php echo U('Member/index')?>')">
								
								<table class="register_ta" border="0" cellspacing="0" cellpadding="0">
									<tbody>
										<tr>
											<th>用户名：</th>
											<td><input type="text" name="account" value="" /></td>
										</tr>
										<tr>
											<th>密码：</th>
											<td><input type="text" name="password"/></td>
										</tr>
										<tr>
											<th>确认密码：</th>
											<td><input type="text" name="password1"/></td>
										</tr>
										<tr>
											<th>验证码：</th>
											<td>
												<input type="text" name="code" style="width: 65px;"/>											<!--验证码图片 可点击图片刷新-->
												<img id="img" src="<?php echo U('Member/Code')?>" onClick="this.src='<?php echo U('Member/Code')?>'"/>
												<p id="btnp" >看不清换一张</p>
											</td>
										</tr>
										<tr>
											<th></th>
											<td>
											<input class="licence" type="checkbox" name="chexkbox" checked="checked"/> 我已阅读并同意										 
											 <a href="">名鞋库会员注册协议</a>									
											</td>
										</tr>
										<tr>
											<th></th>
											<td><input class="submit" type="submit" name="" value="注册新用户"/></td>
										</tr>
									</tbody>
								</table>
								</form>								
							</div>
						</td>
						<td width="35%">
							<div class="login_box">
								<br />
								<br />
								<br />
								<b>已经有名鞋库账号？</b>
								<br />
								<br />
								<a href="<?php echo U('Member/index')?>">现在登录</a>
								<div class="img">
									<img src="./Public/Home/images/reg_img.png" alt="" />
								</div>
							</div>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
</nav>
<!--end inside-->

<footer>
	<div class="foot_row">
		<div class="row">
			<div class="row_one">
				<!--版权-->
				<p>Copyright © 2008-2014</p>
			</div>
			<div class="row_one">
				<!--备案号-->
				<p>闽ICP备08106896号</p>
			</div>
			<div class="row_one">
				<!--网站信息-->
				<p>名鞋库 All Rights Reserved. </p>
			</div>
			<div class="row_one">
				<!--经营许可证-->
				<p>经营许可证闽B2-20110061  </p>
			</div>
		</div>
		
		<div class="link">			
			<div class="Foot6">
				友情链接：
				<ul class="Foot7">
					<!--*************************************************-->
					<!--链接为5个，要改注意该js-->
					<li><a class="Foot6_text"href="">服饰百科</a></li>
					<li><a class="Foot6_text"href="">服饰百科</a></li>					
				</ul>		
			</div>			
		</div>
	</div>
</footer>
</body>
</html>
